//
//  ViewController.m
//  001-消息转发机制
//
//  Created by hzg on 2018/4/26.
//  Copyright © 2018年 tz. All rights reserved.
//

#import "ViewController.h"
#import "Person.h"
#import "UIView+Swizzing.h"
#import "Person+mult.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [[[Person alloc] init] sendMessage:@"hello"];
   // [Person sendMessage:@"hello"];
    
    [self.view setBackgroundColor:[UIColor blackColor]];
    
    Person* p = [Person new];
    p.nick = @"Tom";
    NSLog(@"%@", p.nick);
}

@end
